<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<SinBiota.Model.Entities.BaseEntity>>" %>

<%@ Import Namespace="Localization" %>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%: Strings.Administration %></h2>

    <div class="row" style="margin-top:1em;">
        <div class="three columns">
                <li>
                    <span class="display-label" style="width:200px"><%: Strings.Taxonomy %></span>
                </li>
        </div>
        <div class="four columns">  
            <%: Html.ActionLink(Strings.ListAll, "Index", "Taxonomy", new { id = 1 }, new { Class = ViewData["actionButtonClass"] })%>        </div>
        <div class="five columns">
        </div>
    </div>

        <% foreach (var entity in Model)
           {          
                       Html.RenderPartial("EntityAdmin", entity);
           } %>

    <div class="row" style="margin-top:1em;">
        <div class="three columns">
                <li>
                    <span class="display-label" style="width:200px"><%: Strings.Log %></span>
                </li>
        </div>
        <div class="four columns">  
            <%: Html.ActionLink(Strings.ListAll, "Index", "Log", null, new { Class = ViewData["actionButtonClass"] } )%>
        </div>
        <div class="five columns">
        </div>
    </div>

    <div class="row" style="margin-top:1em;">
        <div class="three columns">
                <li>
                    <span class="display-label" style="width:200px">BD Espacial de Coletas</span>
                </li>
        </div>
        <div class="four columns">  
            <%: Html.ActionLink("Resetar e Incluir todas as coletas", "InitOccurrenceSpatialDatabase", null, new { Class = ViewData["actionButtonClass"] } )%>
            
        </div>
        <div class="five columns">
        </div>
    </div>

</asp:Content>

